package com.lizhi.yun.db.stand.pojo;

import com.lizhi.mybatis.boot.Description;
import lombok.Data;
import lombok.ToString;

import javax.persistence.*;

/**
 * 康复评估
 */
@Data
@ToString
@Entity
@Table(name = "stand_assess_info")
@Description("康复评估")
public class StandAssessInfoPOJO{

	@Id
	@Column(length = 30)
	@Description("lid")
	public String lid;

	@Column(length = 30)
	@Description("评估id")
	private String assId;

	@Column(length = 30)
	@Description("患者id")
	private String ptId;

	@Column(length = 2)
	@Description("患者状态,正常--00，出院--01,已删除--02")
	private String ptState;

	@Column(length = 200)
	@Description("髋关节最小值")
	private String assHipMin;

	@Column(length = 200)
	@Description("髋关节最大值")
	private String assHipMax;

	@Column(length = 200)
	@Description("膝关节最小值")
	private String assKneeMin;

	@Column(length = 200)
	@Description("膝关节最大值")
	private String assKneeMax;

	@Column(length = 200)
	@Description("踝关节最小值")
	private String assAnkleMin;

	@Column(length = 200)
	@Description("踝关节最大值")
	private String assAnkleMax;

	@Column(length = 200)
	@Description("肌力评估")
	private String assMuscle;

	@Column(length = 200)
	@Description("Brunstrom评估")
	private String assBrunstrom;

	@Column(length = 200)
	@Description("Ashworth评估")
	private String assAshworth;

	@Column(length = 200)
	@Description("创建人")
	private String assCrtBy;

	@Column(length = 19)
	@Description("创建时间")
	private String assCrtTm;

	@Column(length = 2)
	@Description("上传云管的状态(00-未上传，01-已上传)")
	private String assUpState;

	@Column(length = 19)
	@Description("上传时间")
	private String assUpTm;


	/*患者信息*/
	@Column(length = 500)
	@Description("患者名称")
	private String ptNm;

	@Column(length = 200)
	@Description("患者年龄")
	private String ptAge;

	@Column(length = 2)
	@Description("患者性别（00-男，01-女）")
	private String ptSex;

	@Transient
	@Description("患者性别")
	private String ptSexText;

	@Column(length = 500)
	@Description("患者主治医生")
	private String ptDoctor;


	/*云管需要的数据*/
	@Column(length = 200)
	@Description("医院ID")
	private String hospitalId;

	@Description("系统ID")
	@Column(length = 200)
	private String hospitalSystemId;
}